New function to create a pixbuf pointing to a subregion of another pixbuf.
authorHavoc Pennington <hp@pobox.com>
Wed, 1 Nov 2000 07:07:46 +0000 (07:07 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 1 Nov 2000 07:07:46 +0000 (07:07 +0000)
commitfe9f9d03f41936fc9ace154db4904e32f2ec3304
treeb7948e3ad25559ae7b231f8e209a86687bbd927e
parentda5fdc1360a6002b06b0196e33e294527069a90c
New function to create a pixbuf pointing to a subregion of another pixbuf.

2000-11-01  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf.c (gdk_pixbuf_new_subpixbuf): New function to create
a pixbuf pointing to a subregion of another pixbuf.

2000-11-01  Havoc Pennington  <hp@pobox.com>

* gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
on a label
(gtk_label_finalize): unref the attr list if any.

* gtk/testgtk.c (create_get_image): close test on second click
(make_message_dialog): close dialog if it exists

* gdk/gdkpango.c (gdk_draw_layout): Handle rise attribute

* gdk-2.0.pc.in (Requires): Make it require gdk-pixbuf-2.0 not
gdk-pixbuf

* gtk/gtklabel.c (gtk_label_set_markup): new function to set label
from Pango markup format
(gtk_label_set_markup_with_accel): ditto but with accelerator
parsing

* gtk/gtkimage.c (gtk_image_expose): reformatting.

* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Hack to
reflect current state of GDK - use gdk_drawable_get_colormap, etc.
Check GDK_IS_WINDOW() not !GDK_IS_PIXMAP() to decide whether to
call gdk_window_get_origin().

* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
implement GDK_PIXBUF_ALPHA_FULL
22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/gtk-sections.txt
gdk-2.0.pc.in
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf.c
gdk-pixbuf/gdk-pixbuf.h
gdk/gdkpango.c
gdk/gdkpixbuf-drawable.c
gdk/gdkpixbuf-render.c
gtk/gtkimage.c
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtktextbuffer.c
gtk/testgtk.c
tests/testgtk.c